package com.htu.service.Impl;

import com.htu.mapper.SearchMapper;
import com.htu.po.Food;
import com.htu.service.SearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SearchServichImpl implements SearchService {
    @Autowired
    private SearchMapper searchMapper;
    public List<Food> findBySearchKey(String searchKey) {
        return searchMapper.findBySearchKey(searchKey);
    }
}
